package cn.edu.scau.controller;

import cn.edu.scau.common.utils.ApiResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping("/test")
    public ApiResponse createQuery(){
        ApiResponse response = new ApiResponse();
        try {
        }catch (Exception e){
            e.printStackTrace();
            return new ApiResponse(-1,"服务器错误");
        }
        return response;
    }
}
